package com.lagou.repository;

import com.lagou.entity.Position;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface PositionRepository extends JpaRepository<Position,Integer> {
    @Query(value = "SELECT * FROM t_position",nativeQuery = true)
    public List<Position> queryPositionList();
}
